package com.nft.service.school.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nft.po.NftResponse;
import com.nft.service.school.entity.SysUserEntity;
import com.nft.service.school.req.LoginReq;
import com.nft.service.school.req.SysUserReq;
import com.nft.service.school.resp.LoginResp;
import com.nft.service.school.resp.SysUserResp;

public interface AuthService extends IService<SysUserEntity> {
    public NftResponse<LoginResp> initAppUser(LoginReq loginReq);

    public NftResponse<Boolean> refreshToken(String refreshToken);

    public SysUserResp getUserAppInfo(Integer userId);

    public NftResponse<Boolean> logout(Integer userId);

    public NftResponse userRegister(SysUserReq sysUserReq);

    public NftResponse userMinRegister(SysUserReq sysUserReq);
}
